package com.zzzyh.forumsystemclient.model;

public class UnreadNotificationCountResponse {

    private NotificationCountDetail system;
    private NotificationCountDetail comment;
    private NotificationCountDetail like;
    private NotificationCountDetail follow;

    // 默认构造函数
    public UnreadNotificationCountResponse() {}

    // 带参数的构造函数
    public UnreadNotificationCountResponse(
            Integer systemCount,
            Integer commentCount,
            Integer likeCount,
            Integer followCount) {
        this.system = new NotificationCountDetail(systemCount);
        this.comment = new NotificationCountDetail(commentCount);
        this.like = new NotificationCountDetail(likeCount);
        this.follow = new NotificationCountDetail(followCount);
    }

    // Getter和Setter方法
    public NotificationCountDetail getSystem() {
        return system;
    }

    public void setSystem(NotificationCountDetail system) {
        this.system = system;
    }

    public NotificationCountDetail getComment() {
        return comment;
    }

    public void setComment(NotificationCountDetail comment) {
        this.comment = comment;
    }

    public NotificationCountDetail getLike() {
        return like;
    }

    public void setLike(NotificationCountDetail like) {
        this.like = like;
    }

    public NotificationCountDetail getFollow() {
        return follow;
    }

    public void setFollow(NotificationCountDetail follow) {
        this.follow = follow;
    }

    /**
     * 通知数量详情内部类
     */
    public static class NotificationCountDetail {
        private Integer num;

        // 默认构造函数
        public NotificationCountDetail() {}

        // 带参数的构造函数
        public NotificationCountDetail(Integer num) {
            this.num = num;
        }

        // Getter和Setter方法
        public Integer getNum() {
            return num;
        }

        public void setNum(Integer num) {
            this.num = num;
        }
    }
}
